<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link type="text/css" rel="stylesheet" href="{TPL}css/NewTopFoot.css"  />
<link type="text/css" rel="stylesheet" href="{TPL}css/ShoppingCart.css"/>
<script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="{TPL}js/wdggcGobal.js"></script>
<title>{lang My_Shopping_Cart}</title>
<style>
.lc_two {
background:  url(templates/default/images/{$lang_tpl_path_j}/circuit2.gif) no-repeat bottom;

}
</style>

</head>
<body>
 <form name="ctl00" method="post" action="{url_payconfirm.php}" id="ctl00">
 
<div>
<input type="hidden" name="__PAYDATA" id="__PAYDATA" value="{$paydata}" />
</div>

{template 'header'}

<div class="center">
  <div class="weizhi"> <b>{lang Location}：</b><a href="{url_m.php}">{lang Member_Center}</a><span>&gt;</span>{lang Shopping_settlement_confirmation} </div>
  <div class="lc_two"> <img src="{TPL}images/donghua.gif"> </div>
  <div class="pay_bt">
    <ul>
      <li class="w1">{lang Shopping_list_items_submitted}</li>
      <li class="w2">{lang price}</li>
      <li class="w3">{lang Quantity}</li>
      <li class="w4">{lang total1}</li>
      <li class="w5">{lang Domestic_Shipping}</li>
    </ul>
  </div>
  <div class="product_2">
  {eval $i=1}
  {loop $temparray $sname $value}
    <table>
      <tbody>
	  {loop $value $key $r}
        <tr>
          <td class="p1"> {$i}
            <input type="hidden" value="{$r['gid']}" name="gids[]">
          </td>
          <td class="p2"><a target="_blank" href="{$r['goodsurl']}"> {$r['goodsname']}</a> </td>
          <td class="p3"> ￥{$r['goodsprice']} </td>
          <td class="p4"> {$r['goodsnum']} </td>
          <td class="p5"> {eval if($r['type']==1)echo "￥".$r['goodsprice']*$r['goodsnum'];else echo "[{lang Generation_products}]"} </td>
		  
		  {if $key==0}
          <td rowspan="{eval echo count($value)}" class="p6">￥{$s[$sname]} </td>
		  {/if}
        </tr>
	{eval $i++}
	{/loop}
        <tr>
          <td colspan="8" class="sj"> {lang Business}：<a target="_blank" href="{$r['sellerurl']}">{$r['goodsseller']}</a><span>{lang From_site}：{$r['goodssite']}</span> </td>
        </tr>
      </tbody>
    </table>
	{/loop}
	
    <div class="tixing"> {lang system_principles_customer_service_ontact_you}！ </div>
    <div class="payment">
      <div class="yuer">{lang current_account_balance_RMB}：<b>￥{$_USERS['money']} </b><a target="_blank" href="{url_m.php?name=rmbaccount}">{lang Recharge_Now}</a></div>
      <dl>
        <dt>{lang Total_goods_selected}<span>￥{$countdata['goodsmoney']}</span>&nbsp;+&nbsp;{lang Total_freight}<span>￥{$countdata['sendmoney']}</span></dt>
        <dd> {lang need_pay_total_of}<span>￥{$countdata['totalmoney']}</span>
		&nbsp;&nbsp;
		<span  style="font-size:12px;color:#537cc4;">(S$ <script>var sb={$countdata['totalmoney']}/{$cfg_site_huilv};document.write(sb.toFixed(2))</script>)</span>
		</dd>
      </dl>
    </div>
    <div class="tijiao">
	{if $_USERS['money'] < $countdata['totalmoney']}
      <p> {lang Sorry_recharge_immediately}！</p>
	{/if}
      <a href="{url_shoppingcart.php}">{lang Back_Shopping_Cart}</a>
      <input type="submit" value="{lang j_pay_confim}" class="ok" onmouseout="this.className='ok'" onmouseover="this.className='ok_'" {if $_USERS['money'] < $countdata['totalmoney']}disabled="disabled"{/if} />
    </div>
  </div>
</div>
 </form>
{template 'footer'}
</body>
</html>
